#ifndef _BATTLESERVERSESSION_H_
#define _BATTLESERVERSESSION_H_

#include "ServerSession.h"


class BattleServerSession : public ServerSession
{
	friend class ServerSessionManager;
public:
	BattleServerSession();
	~BattleServerSession();

	virtual	VOID	Clear();
	eSERVER_TYPE	GetServerType() { return BATTLE_SERVER;	}


	inline DWORD	GetNumberOfRooms() { return m_dwNumberOfRooms;	}

protected:
	inline VOID		increasingRoom(){ ++m_dwNumberOfRooms;	}
	inline VOID		decreasingRoom(){ --m_dwNumberOfRooms;	}

	virtual VOID	OnRecv( BYTE * pMsg, WORD wSize );
	virtual VOID	OnDisconnect();
	virtual VOID	OnLogString( char *pszLog );

private:
	DWORD			m_dwNumberOfRooms;
};

#endif //_BATTLESERVERSESSION_H_